﻿using System.Windows.Navigation;
using GalaSoft.MvvmLight;

namespace Mal.Balades.Admin.ViewModels
{
    //public delegate void NavigateEventHandler(string url);

    public abstract class PageViewModelBase : ViewModelBase
    {
        #region Fields
        //private MainViewModel mainViewModel;
        #endregion

        #region Construction / Destruction
        public PageViewModelBase(/*MainViewModel mainViewModel*/)
        {
            //this.mainViewModel = mainViewModel;
        }
        #endregion

        #region enum, struct, class

        #endregion

        #region Properties
        public NavigationContext NavigationContext { get; set; }
        #endregion

        #region Methods
        //protected MainViewModel MainViewModel
        //{
        //    get
        //    {
        //        return mainViewModel;
        //    }
        //}
        #endregion

        #region Events
        public virtual void OnNavigate()
        {

        }
        #endregion       
    }
}
